

public class UltrasonicSensor extends InputDevice{

	/****************************************
	 * Attributes
	 ****************************************/
	public UltrasonicSensor(int address, iCATch316 iCatch) {
		super(address, iCatch);
	}

	// Methods
	/****************************************
	 * Return the current reading
	 ****************************************/
	@Override
	public int getReading() {
		return Integer.parseInt(iCatch.getUltraSonicSensorReading(address)); /** To be modified **/
	}

}
